// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * AmazonAdvertiserInvoicesCampaign
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "amazon_advertiser_invoices_campaign", autoResultMap = true)
@Schema(title = "广告发票活动")
public class AmazonAdvertiserInvoicesCampaign implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 发票编号
   */
  @TableField(value = "`invoice_id`")
  @Schema(title = "发票编号")
  private String invoiceId;

  /**
   * 广告活动
   */
  @TableField(value = "`campaign_name`")
  @Schema(title = "广告活动")
  private String campaignName;

  /**
   * 活动ID
   */
  @TableField(value = "`campaign_id`")
  @Schema(title = "活动ID")
  private String campaignId;

  /**
   * 广告类型
   */
  @TableField(value = "`ads_type`")
  @Schema(title = "广告类型")
  private String adsType;

  /**
   * 计价方式
   */
  @TableField(value = "`price_type`")
  @Schema(title = "计价方式")
  private String priceType;

  /**
   * 点击
   */
  @TableField(value = "`cost_event_count`")
  @Schema(title = "点击")
  private Integer costEventCount;

  /**
   * 平均点击单价
   */
  @TableField(value = "`cost_per_unit`")
  @Schema(title = "平均点击单价")
  private java.math.BigDecimal costPerUnit;

  /**
   * 费用
   */
  @TableField(value = "`cost_amount`")
  @Schema(title = "费用")
  private java.math.BigDecimal costAmount;

  /**
   * 币种
   */
  @TableField(value = "`currency`")
  @Schema(title = "币种")
  private String currency;

  /**
   * 其他费用
   */
  @TableField(value = "`other_allocation_fee`")
  @Schema(title = "其他费用")
  private java.math.BigDecimal otherAllocationFee;

  /**
   * 承担商品
   */
  @TableField(value = "`items`")
  @Schema(title = "承担商品")
  private String items;
}
